<%@ page language="java" contentType="text/html; charset=utf8"
	pageEncoding="utf8"%>
<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf8">
	<title><spring:message code="label.addPreOrder" /></title>
</head>
<body>

  
<h2><spring:message code="label.addPreOrder" /></h2>

<form:form method="post" action="addPreOrder" commandName="preorder">
	<table>
		<tr>
			<td>
				<div class="row for_inp">
					<form:label path="preorderUserId">
						<spring:message code="label.userId" />
					</form:label>
					<div class='inp_1'>
						<form:input path="preorderUserId" />
					</div>
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="row for_inp">
					<form:label path="preorderSn">
						<spring:message code="label.sn" />
					</form:label>
					<div class='inp_1'>
						<form:input path="preorderSn" />
					</div>
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="row for_inp">
					<form:label path="preorderColor">
						<spring:message code="label.color" />
					</form:label>
					<div class='inp_1'>					
						<form:input path="preorderColor" />
					</div>
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="row for_inp">
					<form:label path="preorderSize">
						<spring:message code="label.size" />
					</form:label>
					<div class='inp_1'>							
						<form:input path="preorderSize" />
					</div>
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="row for_inp">
					<form:label path="preorderPrice">
						<spring:message code="label.price" />
					</form:label>
					<div class='inp_1'>						
						<form:input path="preorderPrice" />
					</div>
				</div>
			</td>
		</tr>
		<tr>
			<td>
				<div class="row for_inp">
					<form:label path="preorderCount">
						<spring:message code="label.count" />
					</form:label>
					<div class='inp_1'>						
						<form:input path="preorderCount" />
					</div>
				</div>
			</td>
		</tr>		
		<tr>
			<td>
				<div class="row for_inp">
					<form:label path="preorderSum">
						<spring:message code="label.sum" />
					</form:label>
					<div class='inp_1'>						
						<form:input path="preorderSum" />
					</div>
				</div>
			</td>
		</tr>
		
		<tr>
			<td>
				<div class="row for_inp">
					<form:label path="preorderUrl">
						<spring:message code="label.url" />
					</form:label>
					<div class='inp_1'>	
						<form:input path="preorderUrl" />
					</div>
				</div>
			</td>
		</tr>				
		<tr>
			<td colspan="2"><input  class="but_1" type="submit"
				value="<spring:message code="label.add"/>" /></td>
		</tr>
	</table>
</form:form>
</body>
</html>